﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Security;
using sb.core;
using SubSonic;
using System.Transactions;

namespace sb.core {
    /// <summary>
    /// Summary description for form
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [System.Web.Script.Services.ScriptService]
    public class BaseWS : System.Web.Services.WebService {
        protected int? EntityId = null;
        [WebMethod(true)]
        public string HelloWorld() {
            return "Hellow World";
        }

        [WebMethod(true)]
        public string Process(Dictionary<string, object> data) {
            return null;
        }

        protected virtual void Add(Dictionary<string, object> data) { ;}
        protected virtual void Update(Dictionary<string, object> data) { ;}
        protected virtual void Delete(Dictionary<string, object> data) { ;}
        protected virtual string Filter(Dictionary<string, object> data) { return null; }
    }
}

